package com.ktwlsoft.archivemanage.domain.dao.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.Getter;
import lombok.Setter;
import javax.validation.constraints.Size;
import java.time.Year;
import java.util.Date;

/**
  * report--小程序年度报送
  *
  * @author zhuhe on 2019-10-24 14:19:42
  * @version 1.0
  */
@ApiModel("report--小程序年度报送-Report")
@Getter
@Setter
public class Report extends BaseEntity {

    /**年度报送单号**/
    @ApiModelProperty("年度报送单号")
    private String reportId;

    /**立档单位Id**/
    @ApiModelProperty("立档单位Id")
    private Long unitId;

    /**报送人**/
    @ApiModelProperty("报送人")
    private String writter;

    /**报送人id**/
    @ApiModelProperty("报送人id")
    private Long writterId;

    /**报送年份**/
    @ApiModelProperty("报送年份")
    private Year writeDate;

    /**对比确认**/
    @ApiModelProperty("对比确认")
    private Boolean compareConfirm;

    /**已扫描纸质档案(万页)**/
    @ApiModelProperty("已扫描纸质档案(万页)")
    private Long scanedArchive;

    /**已接受电子文件(件)**/
    @ApiModelProperty("已接受电子文件(件)")
    private Long receivedElecFile;

    /**案卷级档案目录(万条)**/
    @ApiModelProperty("案卷级档案目录(万条)")
    private Long rollArchiveDir;

    /**文件级档案目录(万条)**/
    @ApiModelProperty("文件级档案目录(万条)")
    private Long fileArchiveDir;

    /**计算机(台,最大9999)**/
    @ApiModelProperty("计算机(台,最大9999)")
    private Integer computer;

    /**扫描仪(台,最大9999)**/
    @ApiModelProperty("扫描仪(台,最大9999)")
    private Integer scaner;

    /**打印机(台,最大9999)**/
    @ApiModelProperty("打印机(台,最大9999)")
    private Integer printer;

    /**数码相机(台,最大9999)**/
    @ApiModelProperty("数码相机(台,最大9999)")
    private Integer camera;

    /**刻录机(台,最大9999)**/
    @ApiModelProperty("刻录机(台,最大9999)")
    private Integer discWriter;

    /**复印机(台,最大9999)**/
    @ApiModelProperty("复印机(台,最大9999)")
    private Integer coper;

    /**状态(WAIT(待验证), REFUSE(打回待编辑), PASS(通过）)**/
    @ApiModelProperty("状态(WAIT(待验证), REFUSE(打回待编辑), PASS(通过）)")
    @Size(max = 50, message = "参数超长")
    private String state;

    @ApiModelProperty("审核备注")
    @Size(max = 50, message = "审核备注参数超长")
    private String remark;

    @ApiModelProperty("是否移交， 0：未移交，1：已移交")
    private Boolean transfered = false;

    @ApiModelProperty("是否有效,小程序默认无效，当且仅当对比确认小程序的以后，才设为有效")
    private Boolean valid = false;

    @ApiModelProperty("移交操作人")
    private String transferOperator;

    @ApiModelProperty("移交操作人Id")
    private Long transferOperatorId;

    @ApiModelProperty("移交备注")
    private String transferRemark;

    /**
     * 指导人签字
     */
    @ApiModelProperty("指导人签字")
    private String instructorSign;

    /**
     * 被指导单位签字
     */
    @ApiModelProperty("被指导单位签字")
    private String unitSign;
}
